package com.cskaoyan._05oop2._03inherit;

/**
 * @author Macro_Ray
 * @since 2024/3/11 10:18
 */
public class Demo1 {
    public static void main(String[] args) {

    }

}

class Father1{
    String name = "father1";
}

class Son1 extends Father1{
    String name ="son1";
}